package com.ali.coder;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * 自定义服务端处理器
 */
public class MyCoderServerHandler extends SimpleChannelInboundHandler<Long> {
    /**
     * 通道读取
     */
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, Long aLong) {
        System.out.println("接收消息：" + aLong);
    }
}
